<?php if (!defined('THINK_PATH')) exit(); /*a:4:{s:70:"D:\wamp\www\chengyun\public/../application/admin\view\master\edit.html";i:1527435855;s:63:"D:\wamp\www\chengyun\application\admin\view\layout\default.html";i:1526467896;s:60:"D:\wamp\www\chengyun\application\admin\view\common\meta.html";i:1526467896;s:62:"D:\wamp\www\chengyun\application\admin\view\common\script.html";i:1526467896;}*/ ?>
<!DOCTYPE html>
<html lang="<?php echo $config['language']; ?>">
    <head>
        <meta charset="utf-8">
<title><?php echo (isset($title) && ($title !== '')?$title:''); ?></title>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="renderer" content="webkit">

<link rel="shortcut icon" href="/assets/img/favicon.ico" />
<!-- Loading Bootstrap -->
<link href="/assets/css/backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.css?v=<?php echo \think\Config::get('site.version'); ?>" rel="stylesheet">

<!-- HTML5 shim, for IE6-8 support of HTML5 elements. All other JS at the end of file. -->
<!--[if lt IE 9]>
  <script src="/assets/js/html5shiv.js"></script>
  <script src="/assets/js/respond.min.js"></script>
<![endif]-->
<script type="text/javascript">
    var require = {
        config:  <?php echo json_encode($config); ?>
    };
</script>
    </head>

    <body class="inside-header inside-aside <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
        <div id="main" role="main">
            <div class="tab-content tab-addtabs">
                <div id="content">
                    <div class="row">
                        <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">
                            <section class="content-header hide">
                                <h1>
                                    <?php echo __('Dashboard'); ?>
                                    <small><?php echo __('Control panel'); ?></small>
                                </h1>
                            </section>
                            <?php if(!IS_DIALOG && !$config['fastadmin']['multiplenav']): ?>
                            <!-- RIBBON -->
                            <div id="ribbon">
                                <ol class="breadcrumb pull-left">
                                    <li><a href="dashboard" class="addtabsit"><i class="fa fa-dashboard"></i> <?php echo __('Dashboard'); ?></a></li>
                                </ol>
                                <ol class="breadcrumb pull-right">
                                    <?php foreach($breadcrumb as $vo): ?>
                                    <li><a href="javascript:;" data-url="<?php echo $vo['url']; ?>"><?php echo $vo['title']; ?></a></li>
                                    <?php endforeach; ?>
                                </ol>
                            </div>
                            <!-- END RIBBON -->
                            <?php endif; ?>
                            <div class="content">
                                <form id="edit-form" class="form-horizontal form-ajax" role="form" method="POST" action="">
    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">大师名字:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="name" name="row[name]" value="<?php echo $row['name']; ?>"
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="details" class="control-label col-xs-12 col-sm-2">大师简介:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="details" name="row[details]" value="<?php echo $row['details']; ?>"
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="head" class="control-label col-xs-12 col-sm-2">大师头像:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="head" class="form-control" size="50" name="row[head]" type="text"
                       value="<?php echo (isset($row['head']) && ($row['head'] !== '')?$row['head']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image5" class="btn btn-danger plupload"
                                  data-input-id="head"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image5"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image5" class="btn btn-primary fachoose"
                                  data-input-id="head" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image5"></ul>
        </div>
    </div>


    <div class="form-group">
        <label for="picture" class="control-label col-xs-12 col-sm-2">大师艺术照:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="picture" class="form-control" size="50" name="row[picture]" type="text"
                       value="<?php echo (isset($row['picture']) && ($row['picture'] !== '')?$row['picture']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image1" class="btn btn-danger plupload"
                                  data-input-id="picture"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image1"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image1" class="btn btn-primary fachoose"
                                  data-input-id="picture" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image1"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="teapot_pic" class="control-label col-xs-12 col-sm-2">茶壶图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="teapot_pic" class="form-control" size="50" name="row[teapot_pic]" type="text"
                       value="<?php echo (isset($row['teapot_pic']) && ($row['teapot_pic'] !== '')?$row['teapot_pic']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image2" class="btn btn-danger plupload"
                                  data-input-id="teapot_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image2"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image2" class="btn btn-primary fachoose"
                                  data-input-id="teapot_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image2"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="process_pic" class="control-label col-xs-12 col-sm-2">制壶过程:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="process_pic" class="form-control" size="50" name="row[process_pic]" type="text"
                       value="<?php echo (isset($row['process_pic']) && ($row['process_pic'] !== '')?$row['process_pic']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image3" class="btn btn-danger plupload"
                                  data-input-id="process_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image3"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image3" class="btn btn-primary fachoose"
                                  data-input-id="process_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image3"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="scene_pic" class="control-label col-xs-12 col-sm-2">生活场景:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="scene_pic" class="form-control" size="50" name="row[scene_pic]" type="text"
                       value="<?php echo (isset($row['scene_pic']) && ($row['scene_pic'] !== '')?$row['scene_pic']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image4" class="btn btn-danger plupload"
                                  data-input-id="scene_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image4"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image4" class="btn btn-primary fachoose"
                                  data-input-id="scene_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image4"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_name" class="control-label col-xs-12 col-sm-2">茶壶名称:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_name" name="row[pot_name]" value="<?php echo $row['pot_name']; ?>"
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_pic" class="control-label col-xs-12 col-sm-2">茶壶商品图:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="pot_pic" class="form-control" size="50" name="row[pot_pic]" type="text"
                       value="<?php echo (isset($row['pot_pic']) && ($row['pot_pic'] !== '')?$row['pot_pic']:''); ?>">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image6" class="btn btn-danger plupload"
                                  data-input-id="pot_pic"
                                  data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp"
                                  data-multiple="false" data-preview-id="p-image6"><i class="fa fa-upload"></i> <?php echo __('Upload'); ?></button></span>
                    <span><button type="button" id="fachoose-image6" class="btn btn-primary fachoose"
                                  data-input-id="pot_pic" data-mimetype="image/*" data-multiple="false"><i
                            class="fa fa-list"></i> <?php echo __('Choose'); ?></button></span>
                </div>
                <span class="msg-box n-right"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image6"></ul>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_size" class="control-label col-xs-12 col-sm-2">尺寸:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_size" name="row[pot_size]" value="<?php echo $row['pot_size']; ?>"
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group">
        <label for="pot_size" class="control-label col-xs-12 col-sm-2">窑口工艺:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_technology" name="row[pot_technology]"
                   value="<?php echo $row['pot_technology']; ?>"
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_capacity" class="control-label col-xs-12 col-sm-2">容量:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_capacity" name="row[pot_capacity]"
                   value="<?php echo $row['pot_capacity']; ?>"
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_colour" class="control-label col-xs-12 col-sm-2">釉色:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_colour" name="row[pot_colour]" value="<?php echo $row['pot_colour']; ?>"
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_mode" class="control-label col-xs-12 col-sm-2">成型方式:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_mode" name="row[pot_mode]" value="<?php echo $row['pot_mode']; ?>"
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_decorate" class="control-label col-xs-12 col-sm-2">装饰工艺:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_decorate" name="row[pot_decorate]"
                   value="<?php echo $row['pot_decorate']; ?>"
                   data-rule="required"/>
        </div>
    </div>
    <div class="form-group">
        <label for="pot_shop_url" class="control-label col-xs-12 col-sm-2">商城链接:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="text" class="form-control" id="pot_shop_url" name="row[pot_shop_url]"
                   value="<?php echo $row['pot_shop_url']; ?>"
                   data-rule="required"/>
        </div>
    </div>

    <div class="form-group hidden layer-footer">
        <label class="control-label col-xs-12 col-sm-2 col-xs-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled"><?php echo __('OK'); ?></button>
            <button type="reset" class="btn btn-default btn-embossed"><?php echo __('Reset'); ?></button>
        </div>
    </div>
</form>

                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <script src="/assets/js/require<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js" data-main="/assets/js/require-backend<?php echo \think\Config::get('app_debug')?'':'.min'; ?>.js?v=<?php echo $site['version']; ?>"></script>
    </body>
</html>